package com.vogue.supplymall.order.domain.dao.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Repository;

import com.vogue.supplymall.order.domain.dao.CommentImgDao;
import com.vogue.supplymall.order.domain.mapper.CommentMapper;
import com.vogue.supplymall.order.domain.model.CommentImg;

@Repository("commentImgDao")
public class CommentImgDaoImpl extends BaseDaoImpl<CommentImg, Long> implements CommentImgDao{
	
	@Resource
	private CommentMapper commentMapper;

	@Override
	public void deelteCommentImg(Long detailId) {
		String sql="delete from comment_img where commentdetailid="+detailId;
		
		this.delete(sql);
		
	}
	
}
